package network.packets;

public class PlayerMove extends PacketAbstract
{
   private static final long serialVersionUID = -4658057605759144547L;
   private final int objId;
   private final int x;
   private final int y;
   
   public PlayerMove(int objId, int x, int y)
   {
      super(PacketsCode.PLAYER_MOVE);
      this.objId = objId;
      this.x = x;
      this.y = y;
   }

   public int getObjId()
   {
      return objId;
   }
   
   public int getX()
   {
      return x;
   }

   public int getY()
   {
      return y;
   }
}
